package com.qimu.saiyou.model.vo;

import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @Author: FeiXiang
 * @Date: 2024年03月28日 17:29
 * @Version: 1.0
 * @Description:
 */
@Data
public class CommentVo implements Serializable {
    private static final long serialVersionUID = 4348291703615089425L;
    private Long id;

    /**
     * 父节点
     */
    private Long parentId;
    private String address;
    private Integer status;

    /**
     * 文章id
     */
    private Long postId;

    /**
     * 创建人
     */
    private UserVO user;

    /**
     * 评论内容
     */
    private String content;

    /**
     * 点赞数
     */
    private Integer likes;

    /**
     * 图片
     */
    private String contentImg;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private Date updateTime;

    private Reply reply;
@Data
    public static class Reply {
        private int total;
        private List<CommentVo> list;
    }

}
